# VPC网络

vpc_network_str = '{{"vpc.network-{vpc_uuid}": {{'\
			'"Type": "ZStack::Resource::L3Network",' \
			'"Properties": {{' \
				'"name": "{vpc_uuid}",'\
				'"system": false,'\
				'"systemTags": [],'\
        		'"type": "L3VpcNetwork",'\
				'"category": "Private",'\
				'"l2NetworkUuid": {{'\
					'"Fn::GetAtt": ['\
						'"l2.network-{l2_uuid}",'\
						'"uuid"'\
					']'\
				'}}'\
			'}}'\
		'}}'\
  '}}'
  
vpc_network_cidr = """{{"AddIpRangeByNetworkCidr-{vpc_uuid}": {{
			"Type": "ZStack::Action::AddIpRangeByNetworkCidr",
			"Properties": {{
				"name": "{vpc_uuid}",
				"networkCidr": "{vpc_cidr}",
				"l3NetworkUuid": {{
					"Fn::GetAtt": [
						"vpc.network-{vpc_uuid}",
						"uuid"
					]
				}}
			}}
		}}
  }}"""
